-- sphinx
-- created by panyl
-- 地牢格子：狮身人面像

return {
    restoreGrid = function(grid, info)
    end,
    -- 自动战斗
    autoFight = function(grid)
        -- 随机回答
        local pos = grid:getPos();
        local riddleConfig = RiddleM.query(grid.iddle_class, grid.riddle_id);
        local option = riddleConfig.option[math.random(#riddleConfig.option)];
        return DungeonActionM.go("guess_sphinx", pos, option);
    end
};

